<template>
	<view class="uni_box login">
		<navbar title='用户协议' backgroundColor='#010101'>
		</navbar>
		<view class="content">
			<u-parse :html="content" :tag-style="style"></u-parse>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content: "",
				style: {
					img: 'width:max-width:100%;height:auto;pointer-events: none;'
				}
			};
		},
		async onLoad() {
			let {
				setting
			} = await this.$u.api.setting({
				key:'agreement'
			});
			this.content = setting.content
			
		},
	}
</script>

<style scoped lang="scss">
  page{
  	background-color: #010101;
  }
  .content{
	  padding: 30rpx;
	  color: #fff;
  }
  
</style>
